package com.matrix.calculator;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.view.View;
import android.widget.Button;

public class HeatMap extends Activity {

    /**
     * creates the activity
     */
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        DisplayMetrics metrics = new DisplayMetrics(); 
		getWindowManager().getDefaultDisplay().getMetrics(metrics);
		int width = metrics.widthPixels;
		int height = metrics.heightPixels;
		//sets the view to the MapDrawableView and passes in the the matrix and the width of the screen
        setContentView(new MapDrawableView(this,GlobalVars.getInstance().getResultMatrices().get(0), width, height));
    }
}